/***** tabbed navigation *****/

#sub-nav, .extra-nav {
	margin-top:8px;
	margin-bottom:0px;
	padding-left:10px;
	border-bottom: 1px #fff solid;
	padding-bottom:23px;
} 

* html #sub-nav {
	width: 100%;
}

#sub-nav br, .boxed br, .extra-nav br, #searchform br {
	clear: both;
}

#sub-nav h2, .extra-nav h2, .extra-nav h3 {
	background: none;
	min-height: 15px;
	margin-bottom: 0;
}

.extra-nav h2, .extra-nav h3 {
	float: left;
	line-height: 1;
	position: relative;
	top: 2px;
}

.extra-nav h3 {
	padding-top: 0.3em;
}

#sub-nav ul, .extra-nav ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	list-style: none;
	font-size: 85%;
	margin-left:0px;
}

.extra-nav ul {
	padding-top: 0px;
}

#sub-nav li, .extra-nav li {
	margin: 0 1px 0 0;
	padding: 0 5px 0 0;
	background: url(/images/tab-back.png) 100% 0;
	border-bottom: 1px solid #fff;
}

.extra-nav {
}

.extra-nav li {
	float: left;
	background: url(/images/tab-back.png) 100% 0;
	margin-bottom:0px;
}

.extra-nav h2 {
	float: left;
	border: none;
}
div#right_tab {
    font-size:11px;
	padding:2px;
	height:22px;
	float:right;
	background:#dcdcdc;
	margin:-22 0 0 0 auto;
	border-top:1px #817D76 solid;
	border-left:1px #817D76 solid;
	border-right:1px #817D76 solid;
	text-align:center
}

#sub-nav li.active, .extra-nav li.active {
	border-bottom: 1px solid #dcdcdc;
	background: url(/images/tab-back.png) 0 -200px;
}

#sub-nav li a, #sub-nav li a:visited, #sub-nav li span, .extra-nav li a, .extra-nav li a:visited, .extra-nav li span {
	display: block;
	float: left;
	padding: 5px 11px 5px 16px;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
	background: url(/images/tab-back.png) 0 0;
	min-height: 17px; /* fixes FX/Mac issue */
	color: #322F29;
}
html>body #sub-nav li a, #sub-nav li a:visited, #sub-nav li span, .extra-nav li a, .extra-nav li a:visited, .extra-nav li span {
	padding: 1px 11px 5px 16px;
}
#sub-nav li.active a, #sub-nav li.active span, .extra-nav li.active a, .extra-nav li.active A:link, .extra-nav li.active A:visited{
	background: url(/images/tab-back.png) 0 -200px;
}

#sub-nav li.sub-comments a, #sub-nav li.sub-comments a:visited, #sub-nav li.sub-comments span, #sub-nav li.sub-comments a, #sub-nav li.sub-comments span {
	background-image: url(/images/tab-back-comment.png);
	padding-left: 28px;
}

#sub-nav li.active, .extra-nav li.active {
	background-position: 100% -200px;
	color: #000;	
}

#sub-nav li images, .extra-nav li images, #messages table images {
	vertical-align: middle;
}
#sub-nav li:hover, .extra-nav li:hover {
	#background-position: 100% -200px;
}

#sub-nav li:hover a, .extra-nav li a:hover {
	#background-position: 0 -300px;
}

#sub-nav li.active:hover, .extra-nav li.active:hover {
	#background-position: 100% 0;
}

#sub-nav li.active:hover a, .extra-nav li.active:hover a {
	#background-position: 0 0;
	#text-decoration: underline;
}

